package com.scoy.honeymei.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * ClassName:      com.scoy.honeymei.bean
 * Description:
 * Author:         GaoZhan & Administrator
 * UpdateDate:     2019/10/31/0031$ 下午 15:41$
 * UpdateRemark:   更新内容
 */
public class FilmOrderBean {

    /**
     * order : [{"id":2,"movie_title":"航海王：狂热行动","fyt_no":"003","stime":1571102627,"status":-1}]
     * next : 0
     */

    private int next;
    private List<OrderBean> order;

    public int getNext() {
        return next;
    }

    public void setNext(int next) {
        this.next = next;
    }

    public List<OrderBean> getOrder() {
        return order;
    }

    public void setOrder(List<OrderBean> order) {
        this.order = order;
    }

    public static class OrderBean implements Parcelable {
        /**
         * id : 2
         * movie_title : 航海王：狂热行动
         * fyt_no : 003
         * stime : 1571102627
         * status : -1
         */

        private int id;
        private String movie_title;
        private String fyt_no;
        private long stime;
        private int status;

        protected OrderBean(Parcel in) {
            id = in.readInt();
            movie_title = in.readString();
            fyt_no = in.readString();
            stime = in.readLong();
            status = in.readInt();
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(id);
            dest.writeString(movie_title);
            dest.writeString(fyt_no);
            dest.writeLong(stime);
            dest.writeInt(status);
        }

        @Override
        public int describeContents() {
            return 0;
        }

        public static final Creator<OrderBean> CREATOR = new Creator<OrderBean>() {
            @Override
            public OrderBean createFromParcel(Parcel in) {
                return new OrderBean(in);
            }

            @Override
            public OrderBean[] newArray(int size) {
                return new OrderBean[size];
            }
        };

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMovie_title() {
            return movie_title;
        }

        public void setMovie_title(String movie_title) {
            this.movie_title = movie_title;
        }

        public String getFyt_no() {
            return fyt_no;
        }

        public void setFyt_no(String fyt_no) {
            this.fyt_no = fyt_no;
        }

        public long getStime() {
            return stime;
        }

        public void setStime(long stime) {
            this.stime = stime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }
}
